/*
 * ErrorDef.cpp
 *
 *  Created on: Apr 23, 2013
 *      Author: travis
 */


#include "ErrorDef.h"

namespace Engine
{

string errTypeToStr(unsigned int errType)
{
	switch(errType)
	{
	case ERR_UNKNOWN: return "Unknow error";
	case ERR_FILE_NOT_FOUND: return "File or directory not found";

	// something goes extremely wrong
	// there is an error inside error handling
	// only God could save you!
	default: return "Wrong error type";
	}
}

}

